#include<stdio.h>

int main(int argc, char *argv[])
{
	char c;
	scanf("%c", &c);
	if('1' == c){
		printf("星期一\n");
	}else if('2' == c){
		printf("星期二\n");
	}else if('3' == c){
		printf("星期三\n");
	}else if('4' == c){
		printf("星期四\n");
	}else if('5' == c){
		printf("星期五\n");
	}else if('6' == c){
		printf("星期六\n");
	}else if('7' == c){
		printf("星期日\n");
	}else{
		printf("输入不对哦\n");
	}

	return 0;
}
